﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace NJL.WebUsers.Controls
{
    public partial class WUCVisitorSpaceLeftAttention : BaseUserControl
    {
        private readonly NJL.BLL.NJL_MYFRIEND bllMyFriend = new BLL.NJL_MYFRIEND();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataSet ds = bllMyFriend.GetList(8, "NJL_MYFRIEND.NJL_USER_ID='" + Request.QueryString["uid"] + "'", "NJL_MYFRIEND.CREATE_DATE_TIME desc");
                rptUserFriend.DataSource = ds;
                rptUserFriend.DataBind();
            }
        }
    }
}